ValidationBackedTextFieldWidget

constructor(width: Int, height: Int, wrappedValue: Supplier<String>, choiceValidator: ChoiceValidator<String>, validator: EntryValidator<String>, applier: Consumer<String>)

Parameters

width

Int - width of the widget

height

Int - height of the widget

wrappedValue

Supplier - supplies strings to the text field for display

choiceValidator

ChoiceValidator - additional choice validation, if any. Generally this can be ChoiceValidator.any

validator

EntryValidator - String validation provider see EntryValidator.Builder for more details on validation construction

applier

Consumer - accepts newly valid user inputs.